package com.engineering.elink.co;

import io.swagger.annotations.ApiParam;

public class CourseAddCo {


    /**
     * 课程名称
     */
    @ApiParam(value="课程标题",required=true)
    private String title;
    
    /**
     * 课程标签
     */
    @ApiParam(value="课程标签，比如：a,b,c",required=false)
    private String labelIds;
    
	/**
     * 一级分类
     */
    @ApiParam(value="一级分类",required=true)
    private Integer tcId;

    /**
     * 二级分类
     */
    @ApiParam(value="二级分类",required=true)
    private Integer scId;

    /**
     * 三级分类
     */
    @ApiParam(value="三级分类",required=false)
    private Integer thirdId;
    
    @ApiParam(value="课程文件分类",required=false)
    private Integer type;
    
    /**
     * 课程详情
     */
    @ApiParam(value="内容介绍",required=false)
    private String introduction;
    
    @ApiParam(value="学习所需(价格)",required=false)
    private Float price;
    
    @ApiParam(value="讲师ID",required=false)
    private String userId;
    
    @ApiParam(value="版权(0默认否则选中值)",required=false)
    private Integer copyright;
    
    @ApiParam(value="可见性(0默认否则选中值)",required=false)
    private Integer visibility;
    
    
    /**
     * 课程预览URL
     */
    @ApiParam(value="课程预览URL(上传封面)",required=false)
    private String previewPath;
    
    @ApiParam(value="我阅读并同意《工程界相关服务条款》",required=true)
    private Integer agreeFlag;
    
    @ApiParam(value="0章节1微视频",required=false)
    private Integer videoFlag;
    
    @ApiParam(value="视频章节JSON字符串示例：([{\"chapterId\":0,\"chapterName\":\"第一章\",\"childChapterList\":[{\"chapterId\":0,\"chapterName\":\"第一节\",\"videoList\":[{\"videoId\":0,\"videoName\":\"第一个视频\"},{\"videoId\":0,\"videoName\":\"第二个视频\"}]},{\"chapterId\":0,\"chapterName\":\"第二节\",\"videoList\":[{\"videoId\":0,\"videoName\":\"第三个视频\"},{\"videoId\":0,\"videoName\":\"第四个视频\"}]}]},{\"chapterId\":0,\"chapterName\":\"第二章\",\"childChapterList\":[{\"chapterId\":0,\"chapterName\":\"第一节\",\"videoList\":[{\"videoId\":0,\"videoName\":\"第一个视频\"},{\"videoId\":0,\"videoName\":\"第二个视频\"}]},{\"chapterId\":0,\"chapterName\":\"第二节\",\"videoList\":[{\"videoId\":0,\"videoName\":\"第三个视频\"},{\"videoId\":0,\"videoName\":\"第四个视频\"}]}]}])0表示新增",required=false)
    private String jsonStr;
    
    /**
     * 课程开始时间
     */
    //@ApiParam(value="课程开始时间(例如：2016-10-21 11:59:59)",required=true)
    //@Temporal(TemporalType.TIMESTAMP)
    //@DateTimeFormat(iso=ISO.DATE)
    //private Date startTime;

    /**
     * 课程结束时间
     */
    //@ApiParam(value="课程结束时间(例如：2016-10-23 11:59:59)",required=true)
    //@Temporal(TemporalType.TIMESTAMP)
    //@DateTimeFormat(iso=ISO.DATE)
    //private Date endTime;
    
 

	
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getLabelIds() {
		return labelIds;
	}

	public void setLabelIds(String labelIds) {
		this.labelIds = labelIds;
	}


	public String getIntroduction() {
		return introduction;
	}

	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}

	public Float getPrice() {
		return price;
	}

	public void setPrice(Float price) {
		this.price = price;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Integer getCopyright() {
		return copyright;
	}

	public void setCopyright(Integer copyright) {
		this.copyright = copyright;
	}

	public Integer getVisibility() {
		return visibility;
	}

	public void setVisibility(Integer visibility) {
		this.visibility = visibility;
	}

	public String getPreviewPath() {
		return previewPath;
	}

	public void setPreviewPath(String previewPath) {
		this.previewPath = previewPath;
	}

	public Integer getAgreeFlag() {
		return agreeFlag;
	}

	public void setAgreeFlag(Integer agreeFlag) {
		this.agreeFlag = agreeFlag;
	}

	public String getJsonStr() {
		return jsonStr;
	}

	public void setJsonStr(String jsonStr) {
		this.jsonStr = jsonStr;
	}

	public Integer getTcId() {
		return tcId;
	}

	public void setTcId(Integer tcId) {
		this.tcId = tcId;
	}

	public Integer getScId() {
		return scId;
	}

	public void setScId(Integer scId) {
		this.scId = scId;
	}

	public Integer getThirdId() {
		return thirdId;
	}

	public void setThirdId(Integer thirdId) {
		this.thirdId = thirdId;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getVideoFlag() {
		return videoFlag;
	}

	public void setVideoFlag(Integer videoFlag) {
		this.videoFlag = videoFlag;
	}
    
}
